package com.groupbuying.settleproducer.connector;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.Map;

/**
 * @Author: WANGNING
 * @Email wyn20140226@aliyun.com
 * @Date: 2019/5/13 17:47
 * @Des 服务商中心接口连接器
 */
@Service
@FeignClient(name = "service-sysconfig")
public interface SysconfigFeign {

    // 提现 - 提现id
    @RequestMapping(value = "/common/settle/getWithdrawalId", method = RequestMethod.GET)
    String getWithdrawalId();
    //结算分账-分账id
    @RequestMapping(value = "/common/pay/getSettleId", method = RequestMethod.GET)
    String getSettleId();
    //获取线上结算打款渠道--银盛/原生平台
    @RequestMapping(value = "/config/getCashChannel", method = RequestMethod.GET)
    String getCashChannel();
    //够样优店-银盛支付-提现手续费
    @RequestMapping(value = "/config/getFeeCash", method = RequestMethod.GET)
    String getFeeCash();
    //够样优店-银盛支付-代付手续费
    @RequestMapping(value = "/config/getFeeReplace", method = RequestMethod.GET)
    String getFeeReplace();
    //获取主商户号
    @RequestMapping(value = "/common/ys/getPayeeUsercode", method = RequestMethod.GET)
    String getPayeeUsercode();
    //获取银盛平台商户对应的业务识别号
    @RequestMapping(value = "/common/ys/getBusinessCode", method = RequestMethod.GET)
    String getBusinessCode();
    //退款-退款id
    @RequestMapping(value = "/common/refund/getRefundId", method = RequestMethod.GET)
    String getRefundId();
    //流水id
    @RequestMapping(value = "/common/flow/getFlowId", method = RequestMethod.GET)
    String getFlowId();
    //获取在银盛开设的积分账户---待定
    @RequestMapping(value = "/common/ys/getPayeeUsercode", method = RequestMethod.GET)
    String getYSVirtualCode();
    //获取在银盛开设的平台报备账号
    @RequestMapping(value = "/common/ys/getPlanformCode", method = RequestMethod.GET)
    String getYSPlanformCode();
}